<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

    <link type="text/css" rel="stylesheet" href="SpringSecuritySimple.css">

    <title>Web Application Starter Project</title>
    
    <script type="text/javascript" language="javascript" src="springsecuritysimple/springsecuritysimple.nocache.js"></script>
  </head>

  <%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>

  <body>

    <!-- OPTIONAL: include this if you want history support -->
    <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
    
    <!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
    <noscript>
      <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
        Your web browser must have JavaScript enabled
        in order for this application to display correctly.
      </div>
    </noscript>

    <h1>Web Application Starter Project</h1>
	<input type="hidden" id="username" name="username" value="<sec:authentication property="principal.username"/>"/>
    <table align="center">
      <tr>
        <td colspan="2" style="font-weight:bold;">Please enter your name:</td>        
      </tr>
      <tr>
        <td id="nameFieldContainer"></td>
        <td id="sendButtonContainer"></td>
      </tr>
    </table>
    <a href="/SpringSecuritySimpleAdmin.jsp">Admin Page</a>
    <a href="/j_spring_security_logout">Logout</a>
  </body>
</html>
